<template>
  <el-form :inline="true" class="user-search">
    <el-form-item label="搜索：">
      <el-input size="small" placeholder="输入手机名称"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="search"
        >搜索</el-button
      >
      <el-button
        size="small"
        type="primary"
        icon="el-icon-plus"
        @click="handleEdit()"
        >添加</el-button
      >
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  methods: {
    handleEdit() {
      console.log("添加");
    },
    search() {
      console.log("搜索");
    },
  },
};
</script>

<style lang='less' scoped>
</style>